﻿using ByBikeShop.Site;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace ByBikeShop.Cliente.Pages
{
	public partial class Home : BasePage
	{
		protected void Page_Load(object sender, EventArgs e)
		{
			base.PageLoad();

			if ((Cli == null) || (Cli.ID <= 0))
				Response.Redirect("/Cliente/Pages/Login.aspx");
		}

		public override void CarregaDados()
		{
		}

		protected void lnkPesquisarProdutos_Click(object sender, EventArgs e)
		{
			base.RedirectProdutos();
		}

		protected void lnkMeuCarrinho_Click(object sender, EventArgs e)
		{
			Response.Redirect("Carrinho.aspx");
		}

		protected void lnkDadosCadastrais_Click(object sender, EventArgs e)
		{
			Response.Redirect("MeusDados.aspx");
		}
	}
}